package com.dailyblue.project.estate.car.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.Car;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface CarService extends IService<Car> {
    //添加汽车
    JsonResult addCar(Car car);
    //查询单个汽车
    JsonResult findOneCar(String carId);
    //查询所有汽车
    JsonResult findAllCars();
    //删除汽车
    JsonResult deleteCar(String carId);
    //修改汽车
    JsonResult updateCar(Car car);
}
